package zhieasy.cn.xpu_helper.core.config;

import com.github.zouchanglin.storage.config.QiNiuProperties;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Resource;

/**
 * @author DaHang
 * @date 2020/7/31 21:08
 */
@Data
@Configuration
@EnableConfigurationProperties({QiNiuProperties.class})
public class BeanConfig {
    @Value("${qiniu.my-domain}")
    public static String my_domain;

    @Resource
    private QiNiuProperties qiNiuProperties;
}
